﻿using Microsoft.AspNetCore.Mvc;
using Panda.DynamicWebApi;
using Panda.DynamicWebApi.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WareHose.Application.Menus.Dto;

namespace WareHose.Application.Menus
{
    [DynamicWebApi]
    [ApiExplorerSettings(GroupName = "v1")]
    public class MenuService : IDynamicWebApi
    {
        [HttpGet]
        public async Task<ResultDto<List<MenuDto>>> Routes()
        {
            return new ResultDto<List<MenuDto>>
            {
                Code = Status.Success,
                Message = "",

                Data = new List<MenuDto> { }
            };
        }
    }
}
